This folder contains three Frontier deskscripts that will install various things you may find useful in controlling Anarchie, via Frontier.
About apps.Anarchie
This deskscript contains a nicely tidied up verbs table for AnarchiePro 3.0. To install the new verb table just double-click the script. Important! Before you do that, make certain that if your old Anarchie verb table and old Anarchie shared menu table are backed up somewhere (easiest is to rename them - "AnarchieOld" and 'Arc0' for example). This will let you preserve any custom scripts you have placed in those for later moving to the new versions. i have shipped this as a Frontier 4.0 deskscript as Frontier 5.x can import those, but Frontier 4.x cannot import 5.x desk scripts.
In the new verb table you will find a table, called Examples with contains some example scripts and two sub-tables of further examples: pnlExamples and dwExamples.
About Anarchie.Examples
This table of scripts conatin scripts demonstraing some features of Anarchie. Of particular interest may be mget() which gets multiple files whose name matches a pattern; updateUpload() which is a variant of mirrorupload() that doesn't delete the entire contents of the target directory before uplaoding the new files; parseFTPURL(0 extract the components of an FTP URL.
About pnlExamples…
This table of scripts are quick ports of the example AppleScripts that Peter Lewis supplies with Anarchie. Peter Lewis bears no responsibilty for them, any errors/deficiences are mine alone. I'd be delighted if someone could tell me how to truncate an existing file so I don't have to do the delete/create/set type, creator and position at the end of downloadFiles()
Most of them would probably work optimally as scripts called from the shared menu - just as many of Peter's originals were written for use with OSA menu.
For the curious, the Anarchie.pnlExamples.data table just contains scratch space for a couple of the scripts.
They are close enough in function to Peter's example script for the docs for those to tell you what they do, although I have included some short notes as comments at the head of each script.
Note, none of them test for whether Anarchie is running, it wasn't worth it just for a quick example.
Between Anarchie.Examples and pnlExamples, most of the new features of Anarchie Pro 3.0 are demonstrated.
About dwExamples…
This table of scripts are quick ports of the example scripts that Dave Winer distributed for Anarchie with early versions of Frontier. (I think they *may* have originally been written by Leonard Rosenthol but their provenance is not clear.
Again, many will work well as scripts called from the shared menu.
These scripts use utility routines in the table Anarchie.utilities
About “tables.DropPut Example 1” and “tables.DropPut Example 2” …
These two deskscripts install source for two Frontier "Droplets" which, when files are dropped on them, will use Anarchie to ftp those files to a preset destination - perhaps your local ftp archive's incoming directory.
As usual, simply double-click on the deskscripts to install their contents.
As the source ships the droplets won't work since they don't specify a valid destination url for the files dropped on them but the only change needed to the source is to specify a valid url for a site where you have uploading privileges, rebuild and re-export them. For "DropPut Example 1" one the line that needs changing is line 13 and for "DropPut Example 2" is line 15. After installation the source for both of the droplets will be found in the table user.droplet.tables, (in two obviously named table: "DropPut Example 1" & "DropPut Example 2".) Activate the "Droplet Devloper" suite and that table will open. Open the table for the droplet you want to modify and open the script you will find in that table called "script". When that's done, close the script and table and choose "Export to App" from the "Droplets" menu.
Aknowledgements and thanks…
Thanks to Peter for writing such a wonderful application; thanks to Dave Winer for developing Frontier (I've been using it since version 1.0) and many, many thanks to him now for making it available free for everyone to use; Thanks to whoever built the new verb table - I only ported the examples to work with it - Peter hasn't told me his/her identity, but the table has been a pleasure to work with.